import request from '@/utils/request'
import { base, qss } from '../utils/request'

export const List = (sellerName, userName, userPhone, isPass, payStatus) => { return request.get(`${base}/userOrder/list.json`, { params: { 'entity.sellerName': sellerName, 'entity.userName': userName, 'entity.userPhone': userPhone, 'entity.isPass': isPass, 'entity.payStatus': payStatus }}) }

export const Merge = params => { return request.post(`${base}/userOrder/merge.json`, qss(params)) }

export const Pay = params => { return request.post(`${base}/userOrder/pay.json`, qss(params)) }

